<?php
// +----------------------------------------------------------------------
// | Fengli [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017 http://www.yanyongwang.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 风黎 < 1280246895@qq.com >
// +----------------------------------------------------------------------

namespace app\common\model;

use think\Model;

class Base extends Model
{
    //默认需要执行的查询条件
    public function defaultWhere()
    {
        //不查询 状态为4 的内容  已删除
        $this->where('status','neq','4');
        return $this;
    }

}